package com.yl;

import com.yl.websocket.WebSocketServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 启动程序
 * 
 * @author yl
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class YlApplication
{
    public static void main(String[] args)
    {
        ConfigurableApplicationContext run = SpringApplication.run(YlApplication.class, args);
        WebSocketServer.setApplicationContext(run);
        System.out.println("(♥◠‿◠)ﾉﾞ  无领导会议平台启动   ლ(´ڡ`ლ)ﾞ ");
    }
}
